.PHONY:clean
CC = gcc
OBJ = test
CFLAGS=-Wall -O2
LIBS=-lpthread
#OBJS = nstar_adt_test.c	nstar_adt_http_server.c nstar_adt_httputil.c write_log.c app_delay.c ntart_cookie.c\
#nstar_adt_http_page0.c nstar_adt_http_page1.c nstar_adt_http_page2.c nstar_adt_http_page3.c nstar_adt_http_page4.c\
#nstar_adt_http_page5.c
OBJS+= $(shell ls *.c)
$(OBJ):$(OBJS)
	$(CC) -o $@ $(CFLAGS) $^ $(LIBS)

clean:
	rm  $(OBJ) 
